package com.ecar.core.order.dao;

import com.ecar.common.dao.mybatis.MybatisMapper;
import com.ecar.core.order.entity.Payment;

public interface PaymentMapper extends MybatisMapper {
    int deleteByPrimaryKey(String id);

    int insert(Payment record);

    int insertSelective(Payment record);

    Payment selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Payment record);

    int updateByPrimaryKey(Payment record);
    
    Payment getByType(int paymentType);
}